﻿@{
    ViewBag.Title = "分配部门";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutA.cshtml";
}
@section htmlhead{
      <link href="~/assets/css/Layout/css/main.css" rel="stylesheet" />
    }
<style>
     .assign-con ul li {
    float:left;
    margin:20px;
    background-color:#83b1dd;
    color:white;
    padding:10px;
    border:1px solid #026394;
    border-radius:5px;
    }
        .assign-con ul li input {
        width:20px;
        height:20px;
        }
        .assign-con ul li:hover {
        background-color:#0094ff
        }

</style>
 <div class="container">
     <div id="forms" class="mt10">
        <div class="box">
          <div class="box_border">
            <div class="box_center">
              <form  id="frmEdit" method="post"role="form" class="jqtransform">
                
<div class="assign-size">
     <div class="assign-con">
         <ul>
             @foreach(var item in Model)
             {
             <li>
                 <input type="radio" value="@item.ID" name="DeptId" />@item.Name
             </li>
             }
         </ul>
     </div>
        <input type="hidden" id="hideMids" name="mids" value="@Request.QueryString["mids"]" />
</div>

            <div style="clear:both;"></div>
<div style="padding-left:20px;">
         <input id="btnsaves" type="button" class="btn btn82 btn_save2" value="保存">

</div>
               </form>
            </div>
          </div>
        </div>
     </div>
   </div> 


@section jssection{
    <script type="text/javascript"> 
    var util = {}; 
    var options = { 
        assignUrl: "@Url.Action("AssignDepts")"
    }; 

   </script>
    <script src="~/assets/layer/layer.min.js"></script>
    <script src="~/assets/app/member/deptassignpop.js"></script>

}
  

